// <com.woyouqiu.Copyright>
// --------------------------------------------------------------
// <copyright>上海有求网络科技有限公司 2015</copyright>
// <Solution>Vecen.BangChuang</Solution>
// <Project>Vecen.BangChuang.Application</Project>
// <FileName>FavoriteRequestDto.cs</FileName>
// <CreateTime>2017-04-27 21:53</CreateTime>
// <Author>何苗</Author>
// <Email>hemiao@woyouqiu.com</Email>
// <log date="2017-04-27 21:53" version="00001">创建</log>
// --------------------------------------------------------------
// </com.woyouqiu.Copyright>

using System.ComponentModel;
using Vecen.BangChuang.BangChuang.Products;

namespace Vecen.BangChuang.BangChuang.Mall.Dtos {
    /// <summary>
    /// 收藏请求结构
    /// </summary>
    public class FavoriteRequestDto {


        /// <summary>
        /// 收藏类型
        /// </summary>
        public ProductType FavoriteType { get; set; }
        /// <summary>
        /// 收藏对象ID
        /// </summary>
        public int ObjectId { get; set; }
    }

    /// <summary>
    /// 收藏类型
    /// </summary>
    public enum FavoriteType {

        /// <summary>
        /// 商品
        /// </summary>
        [Description("商品")]
        Product = 0,

        /// <summary>
        /// 微课堂
        /// </summary>
        [Description("课程")]
        Class = 1
    }
}